// @ts-nocheck
import * as http from '@/tools/http'

/**
 * 查询NAS
 * */
export async function getNasInfo(params: object) {
  return http.get('/api/network/nas', params)

}

/**
 * 增加NAS
 * */
export async function createNas(params: object) {
  return http.post('/api/network/nas', params)
}

/**
 * 修改NAS
 * */
export async function modifyNas(params: object) {
  return http.put('/api/network/nas', params)
}

/**
 * 删除NAS
 * */
export async function delNas(params: object) {
  return http.del('/api/network/nas', params)
}
